package com.zjp.baseDemo.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zjp.baseDemo.domain.ResponseResult;
import com.zjp.baseDemo.domain.eneity.User;
import com.zjp.baseDemo.mapper.UserMapper;
import com.zjp.baseDemo.service.UserService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 用户表(User)表服务实现类
 *
 * @author makejava
 * @since 2022-03-14 13:11:24
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService {

    @Override
    public ResponseResult getAllUser() {
        List<User> list = list();
        return ResponseResult.okResult(list);
    }
}


